Skip to content

Conversation

@cmcgee1024
Copy link
Member

The swiftly install snippets with the new website design are quoting the source of the env.sh
script. Inside, there is a ~ character that represents the home directory. Since it is inside
quotes this is not interpreted by the shell. It fails to find a directory called ~ in the current
directory and swiftly isn't added to the PATH. The subsequent rehash is never run either.

Motivation:

Let's improve the initial user experience by fixing the failure.

Modifications:

Use the $HOME environment variable inside the quoted string instead of ~ so that it gets interpolated.

Result:

The instructions should be runnable by new users again.

@shahmishal shahmishal merged commit 3c34b93 into swiftlang:main Jun 13, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants